package com.lab.dao;

import com.lab.pojo.Consumable;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "ConsumableDao")
public interface ConsumableDao {
    public void updateConsumable(Consumable consumable);

    public void addConsumable(Consumable consumable);

    public void deleteConsumable(Long[] cid);

    public Consumable findConsumableById(Long cid);

    public List<Consumable> allConsumables();
}
